#define _CRT_SECURE_NO_WARNINGS
#include"Sort.h"

int main()
{
	//int a[10] = { 0,1,2,3,4,5,6,7,8,9 };
	int a[10] = { 9,8,7,6,5,4,3,2,1,0 };
	//int a[10] = { 1,1,1,1,1,1,1,2,1,1 };
	//InsertSort(a, 10);
	//ShellSort(a, 10);
	//SelectSort(a, 10);
	//HeapSort(a, 10);
	//BubbleSort(a, 10);
	//QuickSort(a, 0, 9);
	//QuickSortNonR(a, 0, 9);
	//MergeSort(a, 10);
	CountSort(a, 10);
	//MergeSortNonR(a, 9);
	for (int i = 0; i < 10; i++)
		printf("%d ", a[i]);
	return 0;
}